package com.gxa.mapper.points;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.entity.points.Gift;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yjl
 * @since 2022-10-12 11:43:53
 */
@Mapper
public interface GiftMapper extends BaseMapper<Gift> {
    void update(Gift gift);
    void updateId(Integer id,Integer status);
    List<Gift> queryByGiftName(String name);
    List<Gift> queryAll();
    List<Gift> queryList();
    Gift queryById(Integer id);

}
